package kr.hkit.powerjava.chapter11;

class Shape{

 }

 public class Rectangle extends Shape {
 public Rectangle(){

 System.out.println("Rectangle 생성자()");
 }
 public static void main(String[] args) {

 }

 }
 
/*class Shape {

	public Shape(String msg) {
		System.out.println("Shape 생성자()" + msg);

	}
}
public class Rectangle extends Shape{
	public Rectangle(){
		System.out.println("Rectangle 생성자()");
	}
	public static void main(String[] args) {
		
	}
}*/